<!-- ############################## body content ############################## -->
<div id="body_content">
	<div id="tours_line">
    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
    </div>
    <div id="tours_img">
    	<img src="<?php echo base_url(); ?>public/images/slideimg_halong.jpg" alt="" />
    </div>
    <div id="tours_content">
      	<div id="tours_l">
        	<?php $this->load->view("homes/categories"); ?>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
            <div class="cls"></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="tripadvsior"><img src="<?php echo base_url(); ?>public/images/tripadvidor.jpg" width="210" /></div>
        </div>
      	<div id="tours_r">
        	<div id="tour_r_title" style="padding:10px 0px;font-weight:bold"><h2 style="font-weight:bold"><?php echo $tourname['cate_name']; ?></h2></div>
        	<div id="tour_r_intro" style="margin-bottom:5px;line-height:17px;"><?php //echo $tourname['cate_ext']; ?></div>
            <div id="tour_r_cate">
            	<?php $this->load->view("homes/category"); ?>
            </div>
            <div id="rated_tour">
            	<div id="rated_tour_top"><h3><?php echo $name; ?> restaurants</h3></div>
            	<div id="rated_tour_bot" style="float:left;line-height:17px;padding:10px 0px;">
                <div id="abc" style="padding-bottom:10px;">
                <?php
					function cut_str($val,$start,$end){
							$total 	= strlen($val);
							$cutted = mb_substr($val,$start,$end,'UTF-8');
							$cutted_leng = strlen($cutted);
							if($cutted_leng < $total){
								$seccess = $cutted."...";
							}else{
								$seccess = $cutted;
							}
							return $seccess;
						}
					?>
                <?php
				if(isset($restaurants)){
					foreach($restaurants as $restau){
						echo "<div class='regions' style='width:300px;margin:0px 15px 25px 0px'>";
							if($restau['restaurant_image'] != NULL){
								echo "<a href='".base_url()."restaurants/".$restau['restaurant_rewrite']."/".$restau['restaurant_id'].".html'><img src='".base_url()."uploads/restaurants/thumb/".$restau['restaurant_image']."' alt='".$restau['restaurant_title']."' title='".$restau['restaurant_title']."' width='160' /></a>";
							}
							echo "<h3><a href='".base_url()."regions/".$restau['restaurant_rewrite']."/".$restau['restaurant_id'].".html'>".$restau['restaurant_title']."</a></h3>";
							echo "<p><img src='".base_url()."public/images/rated.jpg' /></p>";
							//echo "<div class='cls'></div>";
							echo "<div>".cut_str($restau['restaurant_info'],0,100)."</div>";
						echo "</div>";
					}
				}
				?>
		        </div>
                <div class="cls"></div>
                </div>
                <div class="cls"></div>
            </div>
        </div>
    </div>
</div>
<!-- ############################## end body content ############################## -->